package homework24;

public class Consultant extends Employee{
    String special;

    public Consultant(String name, String special) {
        super(name);
        this.special = special;
    }

    @Override
    public void work() {
        System.out.println(name + "正在提供" + special + "方面的咨询");
    }
}
